#pragma once
#include "stdafx.h"
#include "Tools.h"
#define MAX_BOOMIMAGE_COUNT 4

class CBoomEffective
{
public:
	CBoomEffective();
	~CBoomEffective();
	void SetImage();
private:
	IplImage *m_Bimg[MAX_BOOMIMAGE_COUNT];
	CvPoint m_pos;
	int m_StateId;
	bool m_isClear;
public:
	void BoomImageChange();
	CBoomEffective(int x, int y);
	void DrawToBack(IplImage * Bg, int MapMoveDis = 0);
	bool GetClearType();
};

